package com.wolves.career.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 留言实体类
 * </p>
 *
 * @author 麦翔盛
 * @since 2021-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AboutUsLeaveWord对象", description="")
public class AboutUsLeaveWord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "leave_word_id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "留言ID")
    private String leaveWordId;

    @ApiModelProperty(value = "留言内容")
    private String content;

    @ApiModelProperty(value = "留言状态")
    private Integer leaveWordState;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "留言时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
